Return the lowest index in the string where substring sub is found, such that sub is contained in the range [start, end]. ... Honestly, this is the sort of situation where I just open up Python on the command line and start messing around: >>> x